package com.collect.cameroon.zhiBean.zhiReceive;

import com.collect.cameroon.zhiUtils.StringUtil;

import java.io.Serializable;
import java.util.ArrayList;

public class ZHIRDsListEntity implements Serializable {

    private String totalNum;
    private String finishNum;
    private String remainingNum;

    private ArrayList<ZHIRDsEntity> list;

    public String getTotalNum() {
        return StringUtil.safeString(totalNum);
    }

    public String getTotalNumFormat() {
        return StringUtil.numberTothousandFormatter(getTotalNum());
    }

    public void setTotalNum(String totalNum) {
        this.totalNum = totalNum;
    }

    public String getFinishNum() {
        return StringUtil.safeString(finishNum);
    }

    public String getFinishNumFormat() {
        return StringUtil.numberTothousandFormatter(getFinishNum());
    }

    public void setFinishNum(String finishNum) {
        this.finishNum = finishNum;
    }

    public String getRemainingNum() {
        return StringUtil.safeString(remainingNum);
    }

    public String getRemainingNumFormat() {
        return StringUtil.numberTothousandFormatter(getRemainingNum());
    }

    public void setRemainingNum(String remainingNum) {
        this.remainingNum = remainingNum;
    }

    public ArrayList<ZHIRDsEntity> getList() {
        if (list == null) {
            list = new ArrayList<>();
        }
        return list;
    }

    public void setList(ArrayList<ZHIRDsEntity> list) {
        this.list = list;
    }
}
